package player.ui;

import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.Graphics;
import java.awt.Graphics2D;

import javax.swing.JPanel;


public class ThumbPanel extends JPanel{
	ThumbPanel(){
		setLayout(new FlowLayout());
		for(int i=0;i<10;i++){
			ImgButton b=new ImgButton("b"+i);
			add(b);
		}
	}

	public void paintComponent(Graphics g){
		Graphics2D g2=(Graphics2D)g;
		g2.setColor(new Color(100,100,200,100));
		g2.fillRoundRect(0, 0, getWidth(), getHeight(), 30, 30);
	}

}
